package data
{
	import data.type.MapLayerType;

	/**
	 * 效果
	 * wuxi create on 2012-11-21 14:41:21
	 * */
	public class EffectAvatar extends BaseAvatar
	{
		[Bindable]
		public var name:String;
		
		[Bindable]
		public var layer:int;

		
		public function EffectAvatar()
		{
			super();
			
		}
		
		public function get layerName():String{
			if(layer == MapLayerType.LAYER_FORE){
				return "前景";
			}
			else if(layer == MapLayerType.LAYER_BACK){
				return "远景";
			}
			return "无";
		}
		
	}
}